<template>
  <el-pagination
    layout="prev, pager, next,->,total,"
    :total="total"
    :page-size="pageSize"
    @size-change="handleSizeChange"
    @current-change="handleCurrentChange"
  />
</template>

<script setup>
  const props = defineProps({
    total: {
      type: Number,
      default: 0,
    },
    pageSize: {
      type: Number,
      default: 0,
    },
    handleCurrentChange: {
      type: Function,
      default: () => {},
    },
    handleSizeChange: {
      type: Function,
      default: () => {},
    },
  })
</script>

<style lang="scss" scoped></style>
